import PosterImage from "@/assets/fenbid/poster.jpg";
import { useSearchParams } from "umi";

export default function FenbidPage() {
	const [searchParams] = useSearchParams();
	const link = searchParams.get("mt")
		? "https://market.waimai.meituan.com/gd2/wm/24KHfN?tenant=medicine&isMultiTab=true&bs=0000&utm_source=mtmed_brandtf"
		: "https://pro.m.jd.com/mall/active/2h4vpKtKtFK5bdt9TA7zy3cXsJxe/index.html";

	return (
		<div>
			<a href={link} target="_blank">
				<img src={PosterImage} alt="" className="block w-full" />
			</a>
		</div>
	);
}
